//
//  DDAlertView.h
//  DingDongXiChe
//
//  Created by wtjr on 2017/11/22.
//  Copyright © 2017年 xieyingze. All rights reserved.
//

#import "BaseView.h"
#import <UIKit/UIKit.h>

typedef void(^kClickEnsureButtonCompleted)(NSInteger index);

@interface CustomAlertView : UIView

- (instancetype)initWithTitle:(NSString *)title content:(NSString *)content ensureButtonTitle:(NSString *)ensureButtonTitle cancelButtonTitle:(NSString *)cancelButtonTitle;

@property (nonatomic, copy) kClickEnsureButtonCompleted clickeCompleted;

- (void)show;

- (void)showAndDismissSoon;

@end
